package com.kasinf.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author lkhsh
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-------- PaymentFallbackService fallback ---------------";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-------- PaymentFallbackService fallback ---------------";

    }
}
